/*
 * File      : CalcCrc16.h
 * Calculate CRC16 value
 * COPYRIGHT (C) 2020, zc
 *
 * Change Logs:
 * Date           Author       Notes
 * 2020-6-10      zc           the first version
 */

/**
 * @addtogroup IMX6ULL
 */
/*@{*/
#ifndef _INCLUDE_CALC_CRC16_H
#define _INCLUDE_CALC_CRC16_H

/***************************************************************************
* Include Header Files
***************************************************************************/
#include "../UsrTypeDef.h"

/**************************************************************************
* Global Macro Definition
***************************************************************************/

/**************************************************************************
* Global Type Definition
***************************************************************************/

/**************************************************************************
* Global Variable Declaration
***************************************************************************/

/**************************************************************************
* Global Functon Declaration
***************************************************************************/

/*crc16校验运算*/
uint16_t crc16(uint16_t crc, uint8_t const *buffer, uint16_t len);
#endif
